﻿@model AddressModel
@{
    //page title
    ViewBag.Title = T("Admin.Users.Users.Addresses.EditAddress").Text;
    Html.SetActiveMenuItemSystemName("Users list");
}
@using (Html.BeginForm())
{
    <div class="content-header clearfix">
        <h1 class="pull-left">
            @T("Admin.Users.Users.Addresses.EditAddress")
            <small>
                <i class="fa fa-arrow-circle-left"></i> @Html.ActionLink("(" + T("Admin.Users.Users.Addresses.BackToUser") + ")", "Edit", new { id = ViewBag.UserId })
            </small>
        </h1>
        <div class="pull-right">
            <button type="submit" name="save" class="btn bg-blue">
                <i class="fa fa-floppy-o"></i>
                @T("Admin.Common.Save")
            </button>
        </div>
    </div>
    <div asp-validation-summary="All"></div>
    <div class="content">
        <div class="form-horizontal">
            <div class="panel-group">
                <div class="panel panel-default">
                    <div class="panel-body">
                        @Html.EditorFor(model => Model, "Address")
                    </div>
                </div>
            </div>
        </div>
    </div>
}
